How to provision unique Reference IDs for sub-module stages in Pipelines as Code (Dinghy) using UUIDv4
Introduction
Pipelines as Code (PaC) represent a pivotal capability, facilitating swift and efficient provisioning of intricate Spinnaker pipelines. By judicious employment of Dinghyfiles, users can seamlessly apply the same PaC code across diverse applications, significantly reducing development timelines and enhancing the efficacy of Continuous Deployment workflows. A common problem using PaC is in provisioning unique reference ID's for stages. In this article, admins and users can learn to leverage the power of the UUID function to provision unique identifiers for each stage.
Prerequisites
- Pipelines as Code plugin/service available in Spinnaker (installation and configuration instructions available here)* ARM-CLI used for debugging purposes and validation - ARM-CLI